import { App } from 'vue'
import { ElInput, ElSelect, ElDatePicker, ElTag } from 'element-plus'
const components = [ElInput, ElSelect, ElDatePicker,ElTag]
export default (app: App) => {
  return components.map((name) => app.use(name))
}
// TODO 按需引入在component :is 中不被识别的bug
// import ElementPlus from 'element-plus'
// import 'element-plus/dist/index.css'
// app.use(ElementPlus)
